

let rules=qguan(0,"Rules")
let RulesSplit=qguan(0,"RulesSplit")
let Switch=qguan(0,"Switch")
let Yacc=qguan(0,"Yacc")
export default class YaccCore{
    constructor(){

        this.rulesSplit=new RulesSplit(rules) ;//语法规则

    }


    run(iderType){
        let yacc=new Yacc( )
        let tree=yacc.run(iderType,this.rulesSplit)

        let swit =new Switch()

        let data=swit.run(tree)
        return data;
     /*   let data2=data.findRun(12)
        let data3=data.findRunData(12)*/
    }





}

